package com.winphone.zhgd.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author zhou
 * @since 2017-08-31
 */
@TableName("tb_sys_user")
public class TbSysUser extends Model<TbSysUser> {

    private static final long serialVersionUID = 1L;

    /**
     * 系统用户id
     */
	@TableId
	private Integer userid;
    /**
     * 用户名
     */
	private String username;
    /**
     * 密码
     */
	private String password;
	private Date createtime;
	private Date updatetime;


	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}

	@Override
	protected Serializable pkVal() {
		return this.userid;
	}

}
